package com.egao.common.module.notice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 企业号通知明细
 * @author root
 */
@ApiModel(description = "企业号通知明细")
@TableName("notice_record")
@Data
public class NoticeRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("通知ID")
    private Integer noticeId;

    @ApiModelProperty("学号")
    private String xh;

    @ApiModelProperty(value = "是否成功", notes = "0成功 1失败")
    private String state;

    @ApiModelProperty("返回描述")
    private String description;

    @ApiModelProperty("企业号推送ID")
    private String ucsId;

    @ApiModelProperty("添加时间")
    private Date createTime;

    @ApiModelProperty("逻辑删除 0正常 1删除")
    @TableLogic
    private Integer deleted;
}
